package com.demo.wormhole.autoconfiguration.mock;

import com.demo.wormhole.component.mock.section.WormholeMockSection;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConditionalOnClass({WormholeMockSection.class, ProceedingJoinPoint.class})
public class WormholeMockAutoConfiguration {
    
    @Bean
    public WormholeMockSection WormholeMockSection() {
        return new WormholeMockSection();
    }
}
